Vec3
Properties
Functions
Link copied to clipboard
Calculates the scale factor to project this vector onto another vector.
Link copied to clipboard
Returns the number of dimensions of the spatial object.
Link copied to clipboard
open fun eq(other: Vector3<*>, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean
Checks if two vectors are equal within a specified tolerance.
Link copied to clipboard
Returns true if any value in the spatial is infinite.
Link copied to clipboard
Returns this vector as an immutable Vec3.
Link copied to clipboard
Returns a mutable copy of this vector as a MutableVec3.
Link copied to clipboard
Negates the vector, flipping its direction.
Link copied to clipboard
Creates a vector with the specified components.